﻿namespace K9Nano.Domain.Entities;

public interface IAuditEntity<TKey> : IEntity<TKey> where TKey : IEquatable<TKey>
{
    TKey CreatedBy { get; set; }

    TKey? UpdatedBy { get; set; }

    DateTime? UpdatedAt { get; set; }
}

public interface IAuditEntity : IEntity
{
    long CreatedBy { get; set; }

    long? UpdatedBy { get; set; }

    DateTime? UpdatedAt { get; set; }
}